package com.lgy.service.impl;

import com.lgy.service.UserClient;
import org.springframework.stereotype.Service;

/**
 * Created by fengch on 2017/12/6.
 */
@Service
public class UserClientHystrix implements UserClient {
    @Override
    public String getuserinfo() {
        return " UserClientHystrix 服务不可用。。";
        //throw  new NullPointerException(" UserClientHystrix 服务不可用。。");
    }
}
